package cn.tedu._05weibo.mapper;


import cn.tedu._05weibo.pojo.entity.User;
import cn.tedu._05weibo.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;
public interface UserMapper {
    /**
     * 1.注册功能：查询接口
     * select id,password,nickname from user where username=?
     */
    UserVO selectByUsername(String username);

    /**
     * 2.注册功能：插入接口
     */
    int insertUser(User user);


}
